80309: All tests

Documentation

Owners

Name Affiliation Email Start End
Herm Fischer Mark V Systems fischer@markv.com 01-08-2020 at 12:00:00
Paul Hulst De Nederlandsche Bank P.J.Hulst@dnb.nl 01-08-2020 at 12:00:00

Test Case Variations


V-01 Instance with instant and duration facts

Documentation

Tests that the function works with an instance containing both types of concepts, including both date times with and without a time component.

Inputs

  • schema: taxonomy-a.xsd
  • instance: instance-a.xml (DTS Discovery starting point) (ID=V01)
  • Function Call: xfi:single-unique-end-date()

    (against file V01)

Outputs

  • Result test: count( $result ) eq 1 and $result eq false()

V-02 Instance without facts

Documentation

Tests that the function works with an empty instance.

Inputs

Outputs

  • Result test: $result eq false()

V-03 Instance with instant and duration facts that share the same date

Documentation

Tests that the function works with an instance containing both types of concepts, including both date times with and without a time component.

Inputs

  • schema: taxonomy-a.xsd
  • instance: instance-d.xml (DTS Discovery starting point) (ID=V03)
  • Function Call: xfi:single-unique-end-date()

    (against file V03)

Outputs

  • Result test: count( $result ) eq 1 and $result eq true()

V-04 Instance with instant and duration fact with and without time

Documentation

Tests that the function works with an instance containing both types of concepts, including both date times with and without a time component. Date with time T00:00:00 is equal to the date minus one day without time.

Inputs

Outputs

  • Result test: count( $result ) eq 1 and $result eq true()

V-05 Instance with instant and duration fact with and without time zone

Documentation

Tests that the function works with an instance containing both types of concepts, including both date times with and without a timezone component. DateTime with timezone is different from the same date without time and timezone.

Inputs

Outputs

  • Result test: count( $result ) eq 1 and $result eq false()

V-06 Instance with instant and duration fact with and without timezone

Documentation

Tests that the function works with an instance containing both types of concepts, including both date times with and without a timezone component. DateTime with timezone is different from the same dateTime without timezone.

Inputs

Outputs

  • Result test: count( $result ) eq 1 and $result eq false()

Revisions

Name On Details
Herm Fischer 01-08-2020 at 12:00:00 Created the test case.